#ifndef _DEPARTMENT_H
#define _DEPARTMENT_H

#include <vector>
#include <string.h>

#include "employee.h"
using namespace std;

class Department
{
	int m_nld;
	int total;
	char m_strName[20];
	vector<Employee*> m_vecEmps;

public:
	Department(int m_id = 0,const char* str = "",int _total = 0);

	Department& operator = (Department& that);

	bool deleteEmp(int _id);

	bool modifyEmp(Employee& employee);

	void listEmp(vector<Employee*>& employees);

	void addTotal(void);

	void subTotal(void);

	int getTotal(void);

	int getDept_id(void);

	void setID(int id);

	void setTotal(int _total);

	void setName(char * str);

	const char* getDept_name(void);

	vector<Employee*>& get_employee_vector(void);

	~Department(void);
};

#endif//_DEPARTMENT_H
